<style>
    .mask {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0;
        transition: opacity .3s;

    }
    .msgbox {

        position: fixed;
        z-index: 101;
        left: 0;
        top: 150px;
        background: #fff;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 0;
        transition: top .3s, opacity .3s;
    }
    .msgbox .icon-close {
        position: absolute;
        top: 0;
        right: 0;
        width: 44px;
        height: 50px;
        font-size: 14px;
        cursor: pointer;
        text-align: center;
        line-height: 50px;
        border-radius: 0 3px 0 0;
    }
    .msgbox .icon-close:before { margin: 0; }
    .msgbox .icon-close:hover { background: #f8f8f8; }

    .msgbox h3 {
        padding: 0 10px;
        border-bottom: 1px solid #efefef;
        font-size: 18px;
        line-height: 50px;
    }

    .msgbox .msg-wrap {

        min-width: 530px;
        max-width: 1000px;
        /*padding: 40px 30px;*/
        font-size: 18px;
        text-align: center;
        word-break: break-all;
        word-wrap: break-word;
    }
    .msgbox .msg-wrap .warning-msg {
        position: relative;
        display: block;
        margin: 0 50px;
    }
    .msgbox .msg-wrap .warning-msg  .icon-warning {
        position: absolute;
        top: -13px;
        left: -50px;
        font-size: 32px;
        color: #F0D967;
        vertical-align: top;
    }
    .msgbox .msg-wrap .warning-msg .warning-btns {
        margin-top: 40px;
    }
    .msgbox .msg-wrap .warning-msg  .warning-btns .btn,.msgbox .msg-wrap .warning-msg  .warning-btns button {
        margin-left: 80px;
    }




    .message{
        margin: 0 auto;
        width: 600px;
        padding: 20px 30px;
        background: #7FCDFF;
        border-radius: 12px;
        z-index: 99;
    }
    .message span{
        display: block;
        text-align: center;
        font-size: 24px;
        font-weight: bold;
    }
    .message span img{
        padding-right: 5px;
    }
    .message  .form-item{
        margin: 1em 0;
    }
    .message  label{
        display: none;
    }
    .message  .form-textarea-wrapper textarea{
        min-width: 100%;
        max-width: 100%;
        min-height: 130px;
        max-height: 130px;
        border-radius: 10px;
        border: none;
        padding: 5px;
        color: #666666;
    }
    .message  .webform-component--msg-name{
        width: 49%;
        float: left;
    }
    .message  .webform-component--msg-mfdh{
        width: 49%;
        float: right;
    }
    .message  input{
        width: 100%;
        border: none;
        border-radius: 5px;
        height: 35px;
        text-align: center;
    }
    .warning-btns {
        text-align: center;
    }
    .btn, button {
        display: inline-block;
        text-align: center;
        color: #fff!important;
        text-decoration: none!important;
        border-radius: 3px;
    }
    .btn-middle {
        border: none;
        height: 40px;
        padding: 0 40px;
        line-height: 40px;
        font-size: 16px;
    }
    .btn-gray {
        margin-left: 50px;
        background: #ccc;
    }
    .btn-blue {

    }
</style>
<div class="pop-html">
    <div class="message">
        <span>联系我们</span>
        <form class="webform-client-form" action="/" method="post">
            <div class="contact">
                <div class="form-item webform-component webform-component-textfield webform-component--msg-name webform-container-inline">
                    <input required="required" type="text" name="submitted[msg_name]" value="" size="32" maxlength="128" placeholder="请填写您的姓名">
                </div>
                <div class="form-item webform-component webform-component-textfield webform-component--msg-mfdh webform-container-inline">
                    <input required="required" type="text" name="submitted[msg_mfdh]" value="" size="32" maxlength="128" class="form-text required" placeholder="请填写您的电话">
                </div>
                <div class="form-item webform-component webform-component-textarea webform-component--msg-node">
                    <div class="form-textarea-wrapper">
                        <textarea id="edit-submitted-msg-node" name="submitted[msg_node]" cols="60" rows="5" class="form-textarea" placeholder="请输入您的留言信息，字数限定在300字以内！"></textarea>
                    </div>
                </div>
            </div>
            <div class="warning-btns">
                <button class="btn btn-blue btn-middle">确定</button>
                <a href="javascript:;" class="btn btn-gray btn-middle" >取消</a>
            </div>
        </form>
    </div>
</div>
<div id="popbox-container"></div>
<script src="{{ asset('js/jquery-3.2.1.min.js') }}"></script>
<script src="{{ asset('js/global.js') }}"></script>
<script type="text/javascript">
    var _html = $('.pop-html').html()
    popbox(_html);
    console.log($('.message').html());
</script>
